package com.example.test13.Service;

import com.example.test13.Dao.LoginMapper;
import com.example.test13.emity.User;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Resource
    LoginMapper loginMapper;

    @Override
    public User login(User user){
        return loginMapper.login(user);
    }
}
